package com.yiyahui.project.erp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yiyahui.framework.aspectj.lang.annotation.Excel;
import com.yiyahui.framework.web.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 看诊记录对象 yiya_diagnose_running
 * 
 * @author yiyahui
 * @date 2020-07-07
 */

@ApiModel(value="看诊记录对象")
public class YiyaDiagnoseRunning extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 市场建档id */
    @ApiModelProperty(value="市场建档id")
    @Excel(name = "市场建档id")
    private Long marketReservationId;

    /** 患者id */
    @ApiModelProperty(value="患者id")
    @Excel(name = "患者id")
    private Long clinicPersonId;

    /** 预约id */
    @ApiModelProperty(value="预约id")
    @Excel(name = "预约id")
    private Long appointmentId;

    /** 员工类型 1 医生 2 tc */
    @ApiModelProperty(value="员工类型 1 医生 2 tc")
    @Excel(name = "员工类型 1 医生 2 tc")
    private Integer type;

    /** 员工id */
    @ApiModelProperty(value="员工id")
    @Excel(name = "员工id")
    private Long userId;

    /** 员工姓名 */
    @ApiModelProperty(value="员工姓名")
    @Excel(name = "员工姓名")
    private String userName;

    /** 看诊结果 */
    @ApiModelProperty(value="看诊结果")
    @Excel(name = "看诊结果")
    private String result;

    /** 备注 */
    @ApiModelProperty(value="备注")
    @Excel(name = "备注")
    private String remarks;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMarketReservationId(Long marketReservationId) 
    {
        this.marketReservationId = marketReservationId;
    }

    public Long getMarketReservationId() 
    {
        return marketReservationId;
    }
    public void setClinicPersonId(Long clinicPersonId) 
    {
        this.clinicPersonId = clinicPersonId;
    }

    public Long getClinicPersonId() 
    {
        return clinicPersonId;
    }
    public void setAppointmentId(Long appointmentId) 
    {
        this.appointmentId = appointmentId;
    }

    public Long getAppointmentId() 
    {
        return appointmentId;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setResult(String result) 
    {
        this.result = result;
    }

    public String getResult() 
    {
        return result;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("marketReservationId", getMarketReservationId())
            .append("clinicPersonId", getClinicPersonId())
            .append("appointmentId", getAppointmentId())
            .append("type", getType())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("result", getResult())
            .append("remarks", getRemarks())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
